package com.woniuxy.impl;

import com.woniuxy.Person;

/**
 * @Author: 马宇航
 * @Todo: 中国人
 * @DateTime: 01/17/0017 上午 11:35
 * @Component: 成都蜗牛学苑
 **/
public class Chinese implements Person {
    String name;

    public Chinese() {
    }

    public Chinese(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Chinese{" +
                "name='" + name + '\'' +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("我是中国人，我爱吃火锅！");
    }
}
